import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//导入vant的css样式
import 'vant/lib/index.css';
//导入vant的需要用到的样式
import { Swipe, SwipeItem, Lazyload, Badge, Sidebar, SidebarItem,
Collapse, CollapseItem, Tab, Tabs, Card ,Image as VanImage, Tag, Button, Form, Field,
SubmitBar,CheckboxGroup,SwipeCell, Stepper, Checkbox } from 'vant';

createApp(App)
.use(Swipe).use(SwipeItem).use(Lazyload, {
    loading: require('./assets/images/default.png')
}).use(Badge).use(Sidebar).use(SidebarItem).use(Collapse).use(CollapseItem).use(Tab).use(Tabs).use(Card)
.use(VanImage).use(Tag).use(Button).use(Form).use(Field).use(SubmitBar).use(CheckboxGroup).use(SwipeCell)
.use(Stepper).use(Checkbox).use(store).use(router).mount('#app')
